#ifndef NETWORK_NETWORKGETJSONLISTREQUEST_H
#define NETWORK_NETWORKGETJSONLISTREQUEST_H

#include "networkgetjsonrequest.h"


namespace Network {

class JSONListResponse;

class GetJSONListRequest : public Network::GetJSONRequest
{
    Q_OBJECT
public:
    explicit GetJSONListRequest();

public:
    const JSONResponse &jsonResponse() const;

private:
    JSONResponse &jsonResponse();

public:
    virtual const JSONListResponse &jsonListResponse() const = 0;

private:
    virtual JSONListResponse &jsonListResponse() = 0;
};

} // namespace Network

#endif // NETWORK_NETWORKGETJSONLISTREQUEST_H
